package com.alaia.order.domain;

import com.alaia.common.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 mq_message
 * 
 * @author Alaia
 * @date 2022-11-01
 */
public class MqMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String messageId;

    /** JSON */
    private String content;

    /** $column.columnComment */
    private String toExchange;

    /** $column.columnComment */
    private String classType;

    /** 0-新建 1-已发送 2-错误抵达 3-已抵达 */
    private Integer messageStatus;

    public void setMessageId(String messageId) 
    {
        this.messageId = messageId;
    }

    public String getMessageId() 
    {
        return messageId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setToExchange(String toExchange) 
    {
        this.toExchange = toExchange;
    }

    public String getToExchange() 
    {
        return toExchange;
    }
    public void setClassType(String classType) 
    {
        this.classType = classType;
    }

    public String getClassType() 
    {
        return classType;
    }
    public void setMessageStatus(Integer messageStatus) 
    {
        this.messageStatus = messageStatus;
    }

    public Integer getMessageStatus() 
    {
        return messageStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("messageId", getMessageId())
            .append("content", getContent())
            .append("toExchange", getToExchange())
            .append("classType", getClassType())
            .append("messageStatus", getMessageStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
